package com.atguigu.gulimall.product.service;

import com.atguigu.gulimall.product.entity.SpuInfoDescEntity;
import com.atguigu.gulimall.product.vo.SpuSaveVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.SpuInfoEntity;

import java.io.IOException;
import java.util.Map;

/**
 * spu  Ϣ
 *
 * @author wansheng
 * @email 2060054181@gmail.com
 * @date 2024-10-13 19:39:10
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void savebyspuvo(SpuSaveVo spuInfoVO);

    void savebase(SpuInfoEntity spuInfoEntity);

    void saveSpuInfoDesc(SpuInfoDescEntity spuInfoDescEntity);

    PageUtils queryPagebyparams(Map<String, Object> params);

    void up(Long spuId) throws IOException;

    SpuInfoEntity getSpuInfoBySkuId(Long skuId);
}

